<%@ taglib prefix="decorator"
	uri="http://www.opensymphony.com/sitemesh/decorator"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
	
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" type="text/css" href="/static/css/main.css" />
		<title>Pool Cricket :: <decorator:title/></title>
	</head>
	<body>
		<div id="logininfo">Logged as <strong><sec:authentication property="principal.firstname"/> <sec:authentication property="principal.lastname"/></strong> |
		 <sec:authorize access="hasRole('ADMIN')"><strong><a href="/admin">Admin</a></strong>|</sec:authorize>
		 <a href="/landing/logout"><strong>Logout</strong></a></div>
		<div id="usercontent">
			<div id="main"><decorator:body/></div>
		</div>
	</body>
</html>
